package unit03.day02;
/**
 * 图片重命名
 * */
public class RegularDemo2 {

	public static void main(String[] args) {
		String imgName = "abc.jpg";
		String[] arr = imgName.split("\\.");
		String newName = System.currentTimeMillis()+"."+arr[1];
		System.out.println(newName);
	}

}
